<div class="menu">
	<div align="right" style="font-weight:bold; font-size:12px; padding-bottom:8px; color:#0858A2;">
		<?php echo $this->Access->getMyRole($this->Access->getMy('group_id')).": ".$this->Access->getMy('nombre_completo');?>
	</div>
	<?php  $this->Form->menu($this->Access->getMy('id'),$this->Access->getMy('group_id'));?>
	
</div>
<div class="informefinales index">
	<fieldset>
	<legend><?php __('Informe final');?></legend>
	<?php echo $this->Html->link($this->Html->image('add_informe_final.png', array('alt'=> __('Nuevo Analisis del Momento', true), 'border' => '0')),
												'../informemomentos/add/',array('escape' => false));?>
	<table cellpadding="0" cellspacing="0" class="tabla_formulario">
	<tr>
			<th><?php echo $this->Paginator->sort('Coordinador','Informefinale.user_id');?></th>
			<th><?php echo $this->Paginator->sort('Fecha de creacion','Informefinale.created');?></th>
			
			<th class="actions"><?php __('');?></th>
	</tr>
	<?php
	$i = 0;
	foreach ($informefinales as $informefinale):
		$class = null;
		if ($i++ % 2 == 0) {
			$class = ' class="altrow"';
		}
	?>
	<tr<?php echo $class;?>>
		<td><?php echo $informefinale['User']['nombre_completo'];?></td>
		<td><?php echo $informefinale['Informefinale']['created'];?></td>
		<td>
			<?php
				echo $this->Html->link($this->Html->image('edit.png', array('alt'=> __('Editar Informe ', true), 'border' => '0')),
												'../informefinales/edit/'.$informefinale['Informefinale']['id'],array('escape' => false));
				?><span style="padding-left:3px;"></span>
				<?php 			
				echo $this->Html->link($this->Html->image('delete.png', array('alt'=> __(' Eliminar Informe ', true), 'border' => '0')),
												'../informefinales/delete/'.$informefinale['Informefinale']['id'],array('escape' => false));
				?><span style="padding-left:3px;"></span>
				<?php  				
				echo $this->Html->link($this->Html->image('informe.png', array('alt'=> __('Generar Informe', true), 'border' => '0')),
										'../informefinales/informe_final_documento/'.$informefinale['Informefinale']['id'],array('escape' => false));
			?>
		</td>		
	</tr>
	<?php endforeach; ?>
	</table>
	</fieldset>
	<p class="pagina">
		<?php echo $this->Paginator->counter(array('format' => __('P&aacute;gina %page% de %pages% , Total de registros %count%', true)));?>
	</p>
	<div class="paging">
		<?php echo $this->Paginator->prev('<< ' . __('Anterior', true), array(), null, array('class'=>'disabled'));?>
	 | 	<?php echo $this->Paginator->numbers();?>
 	 |
		<?php echo $this->Paginator->next(__('Siguiente', true) . ' >>', array(), null, array('class' => 'disabled'));?>
	</div>
	
</div>